
import 'package:flutter/material.dart';
import '../model/categoryGoodsListModel.dart';


class CategoryGoodsListProvied with ChangeNotifier{
  List<CategoryGoodsData> goodsList = [];

  // 点击商品更换商品列列表
  getGoodsList(List<CategoryGoodsData> list){
    goodsList = list; 
    notifyListeners();
  }

  getMoreGoodsList(List<CategoryGoodsData> list){
    goodsList.addAll(list); 
    notifyListeners();
  }
}